package com.caojing.syby.ui.account;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.caojing.syby.R;
import com.caojing.syby.base.BaseActivity;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 立刻登录的界面
 */
public class EnterNowActivity extends BaseActivity {
    @Bind(R.id.iv_enter_now_back)
    ImageView ivEnterNowBack;
    @Bind(R.id.tv_enternow_register)
    TextView tvEnternowRegister;
    @Bind(R.id.et_enternow_user)
    EditText etEnternowUser;
    @Bind(R.id.et_enternow_password)
    EditText etEnternowPassword;
    @Bind(R.id.btn_enternow)
    Button btnEnternow;
    @Bind(R.id.tv_enternow_forget_password)
    TextView tvEnternowForgetPassword;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_enternow;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @OnClick({R.id.iv_enter_now_back, R.id.tv_enternow_register, R.id.btn_enternow, R.id.tv_enternow_forget_password})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.iv_enter_now_back:
                finish();
                break;
            case R.id.tv_enternow_register:
                startActivity(new Intent(EnterNowActivity.this,RegisterActivity.class));
                break;
            case R.id.btn_enternow:
                break;
            case R.id.tv_enternow_forget_password:
                break;
        }
    }
}
